package com.ysqcould.Community.domain;

import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 慈航捐赠金额对象 t_soc_donation_amount
 * 
 * @author jcd
 * @date 2022-09-21
 */
public class SocDonationAmount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contact;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderCode;

    /** 商家名 */
    @Excel(name = "商家名")
    private String merchantsName;

    /** 项目名 */
    @Excel(name = "项目名")
    private String projectName;

    /** 状态（字典 0 正常 1冻结 2 删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=,正=常,1=冻结,2=,删=除")
    private Long status;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal money;

    /** 支付状态 0 未支付 1已支付 */
    @Excel(name = "支付状态 0 未支付 1已支付")
    private Long payStatus;

    /** 活动id */
    @Excel(name = "活动id")
    private Long activityId;

    /** 公益牌姓名 */
    @Excel(name = "公益牌姓名")
    private String brandName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setOrderCode(String orderCode) 
    {
        this.orderCode = orderCode;
    }

    public String getOrderCode() 
    {
        return orderCode;
    }
    public void setMerchantsName(String merchantsName) 
    {
        this.merchantsName = merchantsName;
    }

    public String getMerchantsName() 
    {
        return merchantsName;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setPayStatus(Long payStatus) 
    {
        this.payStatus = payStatus;
    }

    public Long getPayStatus() 
    {
        return payStatus;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setBrandName(String brandName) 
    {
        this.brandName = brandName;
    }

    public String getBrandName() 
    {
        return brandName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contact", getContact())
            .append("phone", getPhone())
            .append("orderCode", getOrderCode())
            .append("merchantsName", getMerchantsName())
            .append("projectName", getProjectName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("money", getMoney())
            .append("payStatus", getPayStatus())
            .append("activityId", getActivityId())
            .append("brandName", getBrandName())
            .toString();
    }
}
